<template>
  <div class="q-pa-md row items-start q-gutter-md">
    <t-card class="my-card">
      <t-card-section class="bg-primary text-white">
        <div class="text-h6">Our Changing Planet</div>
        <div class="text-subtitle2">by John Doe</div>
      </t-card-section>

      <t-separator />

      <t-card-actions align="right">
        <t-btn flat>Action 1</t-btn>
        <t-btn flat>Action 2</t-btn>
      </t-card-actions>
    </t-card>

    <t-card class="my-card">
      <t-card-section class="bg-purple text-white">
        <div class="text-h6">Our Changing Planet</div>
        <div class="text-subtitle2">by John Doe</div>
      </t-card-section>

      <t-card-actions align="around">
        <t-btn flat>Action 1</t-btn>
        <t-btn flat>Action 2</t-btn>
      </t-card-actions>
    </t-card>

    <t-card class="my-card">
      <t-card-section class="bg-teal text-white">
        <div class="text-h6">Our Changing Planet</div>
        <div class="text-subtitle2">by John Doe</div>
      </t-card-section>

      <t-card-actions vertical align="right">
        <t-btn flat>Action 1</t-btn>
        <t-btn flat>Action 2</t-btn>
      </t-card-actions>
    </t-card>

    <t-card class="my-card">
      <t-card-section class="bg-grey-8 text-white">
        <div class="text-h6">Our Changing Planet</div>
        <div class="text-subtitle2">by John Doe</div>
      </t-card-section>

      <t-card-actions vertical align="center">
        <t-btn flat>Action 1</t-btn>
        <t-btn flat>Action 2</t-btn>
      </t-card-actions>
    </t-card>
  </div>
</template>

<script>
  export default {
    setup() {
      return {
        lorem:
          'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
      };
    },
  };
</script>

<style lang="sass" scoped>
.my-card
  width: 100%
  max-width: 250px
</style>
